package org.rxc.org.mapper;

import org.rxc.base.mapper.BaseMapper;
import org.rxc.org.domain.Department;

import java.util.List;

public interface DepartmentMapper extends BaseMapper<Department> {
//    void save(Department department);
//    void update(Department department);
//    void delete(Long id);
//    Department queryById(Long id);
//    List<Department> queryAll();
//
//    Long count(DepartmentQuery departmentQuery);
//
//    List<Department> queryPage(DepartmentQuery departmentQuery);

    List<Department> queryDepTree();
}
